package client.service;

import java.util.Hashtable;

public class UpdateFriendListManager {
	private static Hashtable<Integer,UpdateFriendList> updateFriendlists = new Hashtable<>();
	
	public static void addUpdateFriendList(int account,UpdateFriendList u) {
		updateFriendlists.put(account, u);
	}
	
	public static void removeUpdateFriendList(int account) {
		updateFriendlists.remove(account);
	}
	
	public static UpdateFriendList getUpdateFriendList(int account) {
		return updateFriendlists.get(account);
	}
}
